import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    component: () => import("@/components/Home.vue"),
  },
  {
    path: "/demo",
    component: () => import("@/components/Draggle.vue"),
  },
];

export default new Router({
  routes,
});
